Help > Reference > Macros > Document object > Format property

Format property

This property returns the document format as a numerical value.

Member of

Document

Type

Read-Only Integer Property

Example

If App.ActiveTab.Item(0).Format = 51 Then
  MsgBox "The first document in the search results is a PDF"
End If

See Also

Macro Object Model

Document